﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    [Serializable]
    public class KhuyenMaiTangHang
    {
        private string hanhDong;
        private int khuyenMaiTangHangID;
        private string maKhuyenMaiTangHang;
        private string tenDotKhuyenMai;
        private DateTime ngayLap;
        private DateTime ngayBatDau;
        private DateTime ngayKetThuc;
        private string giaTriTrangThai;
        Entities.TaiKhoan taiKhoan;
        public Entities.TaiKhoan TaiKhoan
        {
            get { return this.taiKhoan; }
            set
            {
                this.taiKhoan = value;
            }
        }
        public KhuyenMaiTangHang()
        { }
        public KhuyenMaiTangHang(string hanhDong,int khuyenMaiTangHangID, string maKhuyenMaiTangHang, string tenDotKhuyenMai, 
           DateTime ngayLap, DateTime ngayBatDau, DateTime ngayKetThuc,string giaTriTrangThai,Entities.TaiKhoan taiKhoan)
        {
            this.ngayLap = ngayLap;
            this.taiKhoan = taiKhoan;
            this.giaTriTrangThai = giaTriTrangThai;
            this.hanhDong = hanhDong;
            this.khuyenMaiTangHangID = khuyenMaiTangHangID;
            this.maKhuyenMaiTangHang = maKhuyenMaiTangHang;
            this.tenDotKhuyenMai = tenDotKhuyenMai;
            this.ngayBatDau = ngayBatDau;
            this.ngayKetThuc = ngayKetThuc;
        }
        public string HanhDong
        {
            get { return this.hanhDong; }
            set
            {
                this.hanhDong = value;
            }
        }
        public int KhuyenMaiTangHangID
        {
            get { return this.khuyenMaiTangHangID; }
            set
            {
                this.khuyenMaiTangHangID = value;
            }
        }
        public string MaKhuyenMaiTangHang
        {
            get { return this.maKhuyenMaiTangHang; }
            set
            {
                this.maKhuyenMaiTangHang = value;
            }
        }
        public string TenDotKhuyenMai
        {
            get { return this.tenDotKhuyenMai; }
            set
            {
                this.tenDotKhuyenMai = value;
            }
        }
        public DateTime NgayLap
        {
            get { return this.ngayLap; }
            set
            {
                this.ngayLap = value;
            }
        }
        public DateTime NgayBatDau
        {
            get { return this.ngayBatDau; }
            set
            {
                this.ngayBatDau = value;
            }
        }
        public DateTime NgayKetThuc
        {
            get { return this.ngayKetThuc; }
            set
            {
                this.ngayKetThuc = value;
            }
        }
        public string GiaTriTrangThai
        {
            get { return this.giaTriTrangThai; }
            set
            {
                this.giaTriTrangThai = value;
            }
        }
        public Entities.ChiTietKhuyenMaiTangHang[] ChiTietKhuyenMaiTangHang { get; set; }

    }

}
